package com.amado.course0603break;

public class Break {
	public static void main(String[] args) {
		int num = 0;
		while (num < 10) {
			num++;
			if (num == 6) {
				System.out.print("break");
				break;
			}
			System.out.print(num + " ");
		}
		System.out.println(" end------------------------");
		// i =0 ,1
		for (int i = 0; i < 3; i++) {
			
			// j=0 1
			for (int m = 0; m < 2; m++) {
				if (m == 1) {
					System.out.println(i + " " + m);
					break;
				}
				
			}
			System.out.println(i);
			
		}
		
	}
}
